/**
 * @(#)JqueryAutoCompleteResult.java Jan 6, 2010
 *   
 * Copyright  (c) 2009-2010 Wilmar IT Service,  Inc.   
 * All  rights  reserved.   
 * TODO
 */

package com.wilmar.process.entity;

import java.io.Serializable;
import java.util.Set;

/**
 * @author makubex Email:makubexnet@gmail.com
 * @version 1.0.0
 */
public class JqueryAutoCompleteResult implements Serializable {

	/**
	 * @serialField
	 */
	private static final long serialVersionUID = 104554485373687181L;

	private String query;
	private Set<String> suggestions;
	private Set<String> data;

	/**
	 * 完整构造函数
	 * 
	 * @param query
	 * @param suggestions
	 */
	public JqueryAutoCompleteResult(String query, Set<String> suggestions) {
		super();
		this.query = query;
		this.suggestions = suggestions;
	}

	/**
	 * 默认构造函数
	 */
	public JqueryAutoCompleteResult() {
		super();
	}

	/**
	 * @return the query
	 */
	public String getQuery() {
		return query;
	}

	/**
	 * @param query
	 *            the query to set
	 */
	public void setQuery(String query) {
		this.query = query;
	}

	/**
	 * @return the suggestions
	 */
	public Set<String> getSuggestions() {
		return suggestions;
	}

	/**
	 * @param suggestions
	 *            the suggestions to set
	 */
	public void setSuggestions(Set<String> suggestions) {
		this.suggestions = suggestions;
	}

	/**
	 * @return the data
	 */
	public Set<String> getData() {
		return data;
	}

	/**
	 * @param data
	 *            the data to set
	 */
	public void setData(Set<String> data) {
		this.data = data;
	}

}
